package com.tms.employee.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 员工管理对象 tms_employee
 *
 * @author ruoyi
 * @date 2024-10-30
 */
public class TmsEmployee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 员工ID */
    @Excel(name = "员工ID")
    private String employeeId;

    /** 头像 */
    @Excel(name = "头像")
    private String picture;

    /** 员工账号 */
    @Excel(name = "员工账号")
    private String employeeAccount;

    /** 初始登录密码 */
    @Excel(name = "初始登录密码")
    private String password;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String department;

    /** 所属角色 */
    @Excel(name = "所属角色")
    private String role;

    /** 员工状态 */
    @Excel(name = "员工状态")
    private String status;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 创建时间                                                                                                                                                            */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间                                                                                                                                                           ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 备注 */
    @Excel(name = "备注")
    private String beizhu;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEmployeeId(String employeeId)
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId()
    {
        return employeeId;
    }
    public void setPicture(String picture)
    {
        this.picture = picture;
    }

    public String getPicture()
    {
        return picture;
    }
    public void setEmployeeAccount(String employeeAccount)
    {
        this.employeeAccount = employeeAccount;
    }

    public String getEmployeeAccount()
    {
        return employeeAccount;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setDepartment(String department)
    {
        this.department = department;
    }

    public String getDepartment()
    {
        return department;
    }
    public void setRole(String role)
    {
        this.role = role;
    }

    public String getRole()
    {
        return role;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public String getCreator()
    {
        return creator;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setBeizhu(String beizhu)
    {
        this.beizhu = beizhu;
    }

    public String getBeizhu()
    {
        return beizhu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("employeeId", getEmployeeId())
                .append("picture", getPicture())
                .append("employeeAccount", getEmployeeAccount())
                .append("password", getPassword())
                .append("name", getName())
                .append("phone", getPhone())
                .append("department", getDepartment())
                .append("role", getRole())
                .append("status", getStatus())
                .append("creator", getCreator())
                .append("creationTime", getCreationTime())
                .append("beizhu", getBeizhu())
                .toString();
    }
}